import http from "@/utils/request";

export default {
  /**
   *查询燃料列表
   */
  async findFluxList(params) {
    return http.get("/api/flux/list", params);
  },

  /**
   *添加燃料
   */
  async addFlux(params) {
    return http.post("/api/flux/add", params);
  },

  /**
   * 查询被选择的熔剂
   */
  async listIsSelected(params) {
    return http.get("/api/flux/listIsSelected", params);
  },

  /**
   *修改燃料
   */
  async updateFlux(params) {
    return http.put("/api/flux/update", params);
  },

  /**
   *删除燃料
   */
  async deleteFlux(params) {
    return http.delete("/api/flux/delete", params);
  },
};
